/// id : "1748596762288013387"
/// isDel : 0
/// createBy : "13546555086"
/// updateBy : "13546555086"
/// createTime : 1705732930
/// updateTime : 1725937502
/// idcard : "141082199505280018"
/// number : "1401010205289583"
/// sysType : "MB"
/// qrCode : "{\"code\":\"BDJW_SYS_BX\",\"data\":{\"idcard\":\"141082199505280018\",\"number\":\"1401010205289583\",\"sysType\":\"MB\"},\"type\":\"6\"}"
/// head : "MB预备役电子身份证"
/// name : "陈坤"
/// sex : "男"
/// address : "太原市杏花岭区杏花岭区"
/// phone : "13546555086"
/// headImg : "user/oneInchPhoto_1675702392795291653.jpg?1692968649235"
/// email : "暂无"

class ElectronIdCardDto {
  ElectronIdCardDto({
      String? id, 
      num? isDel, 
      String? createBy, 
      String? updateBy, 
      num? createTime, 
      num? updateTime, 
      String? idcard, 
      String? number, 
      String? sysType, 
      String? qrCode, 
      String? head, 
      String? name, 
      String? sex, 
      String? address, 
      String? phone, 
      String? headImg, 
      String? email,}){
    _id = id;
    _isDel = isDel;
    _createBy = createBy;
    _updateBy = updateBy;
    _createTime = createTime;
    _updateTime = updateTime;
    _idcard = idcard;
    _number = number;
    _sysType = sysType;
    _qrCode = qrCode;
    _head = head;
    _name = name;
    _sex = sex;
    _address = address;
    _phone = phone;
    _headImg = headImg;
    _email = email;
}

  ElectronIdCardDto.fromJson(dynamic json) {
    _id = json['id'];
    _isDel = json['isDel'];
    _createBy = json['createBy'];
    _updateBy = json['updateBy'];
    _createTime = json['createTime'];
    _updateTime = json['updateTime'];
    _idcard = json['idcard'];
    _number = json['number'];
    _sysType = json['sysType'];
    _qrCode = json['qrCode'];
    _head = json['head'];
    _name = json['name'];
    _sex = json['sex'];
    _address = json['address'];
    _phone = json['phone'];
    _headImg = json['headImg'];
    _email = json['email'];
  }
  String? _id;
  num? _isDel;
  String? _createBy;
  String? _updateBy;
  num? _createTime;
  num? _updateTime;
  String? _idcard;
  String? _number;
  String? _sysType;
  String? _qrCode;
  String? _head;
  String? _name;
  String? _sex;
  String? _address;
  String? _phone;
  String? _headImg;
  String? _email;
ElectronIdCardDto copyWith({  String? id,
  num? isDel,
  String? createBy,
  String? updateBy,
  num? createTime,
  num? updateTime,
  String? idcard,
  String? number,
  String? sysType,
  String? qrCode,
  String? head,
  String? name,
  String? sex,
  String? address,
  String? phone,
  String? headImg,
  String? email,
}) => ElectronIdCardDto(  id: id ?? _id,
  isDel: isDel ?? _isDel,
  createBy: createBy ?? _createBy,
  updateBy: updateBy ?? _updateBy,
  createTime: createTime ?? _createTime,
  updateTime: updateTime ?? _updateTime,
  idcard: idcard ?? _idcard,
  number: number ?? _number,
  sysType: sysType ?? _sysType,
  qrCode: qrCode ?? _qrCode,
  head: head ?? _head,
  name: name ?? _name,
  sex: sex ?? _sex,
  address: address ?? _address,
  phone: phone ?? _phone,
  headImg: headImg ?? _headImg,
  email: email ?? _email,
);
  String? get id => _id;
  num? get isDel => _isDel;
  String? get createBy => _createBy;
  String? get updateBy => _updateBy;
  num? get createTime => _createTime;
  num? get updateTime => _updateTime;
  String? get idcard => _idcard;
  String? get number => _number;
  String? get sysType => _sysType;
  String? get qrCode => _qrCode;
  String? get head => _head;
  String? get name => _name;
  String? get sex => _sex;
  String? get address => _address;
  String? get phone => _phone;
  String? get headImg => _headImg;
  String? get email => _email;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = _id;
    map['isDel'] = _isDel;
    map['createBy'] = _createBy;
    map['updateBy'] = _updateBy;
    map['createTime'] = _createTime;
    map['updateTime'] = _updateTime;
    map['idcard'] = _idcard;
    map['number'] = _number;
    map['sysType'] = _sysType;
    map['qrCode'] = _qrCode;
    map['head'] = _head;
    map['name'] = _name;
    map['sex'] = _sex;
    map['address'] = _address;
    map['phone'] = _phone;
    map['headImg'] = _headImg;
    map['email'] = _email;
    return map;
  }

}